package cn.linstudy.biz;

import cn.linstudy.biz.model.IdleBeatParam;
import cn.linstudy.biz.model.KillParam;
import cn.linstudy.biz.model.LogParam;
import cn.linstudy.biz.model.LogResult;
import cn.linstudy.biz.model.TriggerParam;
import cn.linstudy.vo.result.ResponseBean;

/**
 * @Author XiaoLin
 * @Date 2022/1/8 13:23
 * @Description
 */
public interface ExecutorBiz {

    /**
     * beat
     * @return
     */
    ResponseBean<String> beat();

    /**
     * idle beat
     *
     * @param idleBeatParam
     * @return
     */
    ResponseBean<String> idleBeat(IdleBeatParam idleBeatParam);

    /**
     * run
     * @param triggerParam
     * @return
     */
    ResponseBean<String> run(TriggerParam triggerParam);

    /**
     * kill
     * @param killParam
     * @return
     */
    ResponseBean<String> kill(KillParam killParam);

    /**
     * log
     * @param logParam
     * @return
     */
    ResponseBean<LogResult> log(LogParam logParam);
}
